package org.example.service.inter;

import org.example.entitys.managers.Class;

/**
 * @Description
 * @Author 魏锴
 * @Date 2023/11/15
 */
public interface ClassService {
    boolean createClass(Class aClass);//创建班级

    boolean updateClass(Class aClass);//修改班级信息

    boolean updateTeacher(int class_id, int teacher_id);//更新教师id

    boolean updateAssistant(int class_id, int assistant_id);//更新教辅id

    boolean updateActivityClass(Class aClass);//更新活动id

    boolean deleteClass(int id);//删除班级信息

    Class queryById(int id);//根据id查询班级

    Class[] queryCLassByActivity(int activity_id);//根据活动id查询班级

    boolean addStudent(int class_id, int student_id);//让学生加入班级

}
